<?php 
include '../data/data.php';
$user=$_SESSION['user']; //获取到的用户名
$pass=$_SESSION['pass']; //获取到的密码
$gid=intval($_GET['game_id']);
$result= mysql_query("SELECT * FROM games WHERE id='$gid' and userid LIKE '%$dl%'", $link);  
$row = mysql_fetch_array($result);


$hezhi = mysql_fetch_array(mysql_query("SELECT * FROM app WHERE type='0' and userid LIKE 'xianyun'", $link));
?>
<html lang="en">
<head>
    <title><?php echo $row[name]; ?> - 下载中心</title>
    <meta charset="utf-8"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="viewport" content="width=device-width, initial-scale=0.8, maximum-scale=0.8, minimum-scale=0.8, user-scalable=no minimal-ui">
    <link rel="stylesheet" href="css/header_include.min.css">

    <link rel="stylesheet" href="css/appview.css">
    <link rel="stylesheet" href="css/viewgreen.css">
    <style>
        table.app_view_history td {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-all;
            word-wrap: break-word;
            text-align: center;
        }
    </style>
</head>

<body style="overflow:auto;overflow-x: hidden; width:100%; padding-left:0px; padding-right:0px;">
<div class="row-fluid  margin-bottom-20" style="z-index:-2;overflow:auto;overflow-x: hidden; width:100%; padding-left:0px; padding-right:0px;">
    <div id="header"></div>
</div>

<div class="content">
    <div class="view">
        <div class="span margin-bottom-30" id="appicon-bg" style="text-align:center;">
            <img src="<?php echo $row[logo]; ?>" class="appicon"/>
        </div>
        <div class="span12" style="text-align:center;">
            <h2 style="color:#333;size:24px;margin-bottom: -5px;"><?php echo $row[name]; ?></h2>
        </div>
      </br>
    <div class="view " style="overflow:auto;overflow-x: hidden; width:100%;">
        <!-- 下载点1 奶牛 -->
      <?php if($row[Android]!=''){ ?>
        <div class="span12 margin-bottom-20" style="text-align:center;">
            <div class="spinner">
                <div class="loading"></div>
                <a href="<?php echo $row[Android]; ?>" class="btn-u btn-u-lg ">
                    <i class="fa fa-download"></i> <?php echo $row[xzb1]; ?>                </a>
            </div>
        </div>
      <?php }?>
        <!-- 下载点2 360 -->
      <?php if($row[ios]!=''){ ?>
        <div class="span12 margin-bottom-20" style="text-align:center;">
            <div class="spinner">
                <div class="loading"></div>
                <a href="<?php echo $row[ios]; ?>" class="btn-u btn-u-lg ">
                    <i class="fa fa-download"></i> <?php echo $row[xzb2]; ?>                </a>
            </div>
        </div>
      <?php }?>
       <!-- 下载点3 360 -->
      <?php if($row[xzg3]!=''){ ?>
        <div class="span12 margin-bottom-20" style="text-align:center;">
            <div class="spinner">
                <div class="loading"></div>
                <a href="<?php echo $row[xzg3]; ?>" class="btn-u btn-u-lg ">
                    <i class="fa fa-download"></i> <?php echo $row[xzb3]; ?>                </a>
            </div>
        </div>
      <?php }?>
      <!-- 下载点4 360 -->
      <?php if($row[xzg4]!=''){ ?>
        <div class="span12 margin-bottom-20" style="text-align:center;">
            <div class="spinner">
                <div class="loading"></div>
                <a href="<?php echo $row[xzg4]; ?>" class="btn-u btn-u-lg ">
                    <i class="fa fa-download"></i> <?php echo $row[xzb4]; ?>                </a>
            </div>
        </div>
      <?php }?>
        <br/>
      <div class="span gray-text" style="text-align:center;">
            <ul class="breadcrumb">
                <li>如遇下载问题请联系客服处理</li>
            </ul>
        </div>
    </div>
    <div class="view" style="">
        <div class="span12 gray-text" style="text-align:center;">
            <p style="padding-top:10px;color:#969b9d;">企业签名免费下载！超级签名第三方付费使用！</p>
        </div>
    </div>
        <div class="span12 gray-text ios-signature" style="text-align:center;margin-bottom:10px;margin-top:10px">
            <span>公告：由于国内企业签名都经常掉签名！</span><span style="color: red"></span>
			<br/>
            <span>每次苹果掉签名都要重新下载很麻烦！！</span><span style="color: red"></span>
			<br/>
            <span>自行选择购买与苹果公司合作的超级签名！</span><span style="color: red"></span>
            <br/>
           <span>一次购买可玩全站苹果游戏！稳定不掉！</span><span style="color: red"></span>
            <br/>
            <span>企业签名免费下载，超级签名第三方付费。</span>
        </div>
    </div>
</div>
  <style type="text/css">
.safariDown{position:fixed;bottom:0;left:0;width:100%;z-index:100}
.safariDown .join{background:rgba(0,0,0,.8);margin:0;color:#fff}
.safariDown .join-left{-webkit-border-radius:5px;border-radius:5px}
.safariDown .join-middel .j-head{font-weight:700;padding-top:6px}
.safariDown .join-middel .j-desc{color:#fff}
.safariDown .join-right a{background-color:#60ca20;color:#fff;border:0}
.safariDown .j-link{margin:8px 28px 0 0}
.safariDown .safari-close{width:22px;height:22px;position:absolute;right:5px;top:5px}
.safariDown .safari-close:before,.safariDown .safari-close:after{position:absolute;left:0;top:10px;content:"";width:22px;height:2px;background:#FFF}
.safariDown .safari-close:before{-webkit-transform:rotate(-45deg)}
.safariDown .safari-close:after{-webkit-transform:rotate(45deg)}
.safariDown .wxguide{padding:10px 10px 10px 42px;background:rgba(0,0,0,.7);color:#fff;position:relative}
.safariDown .wxguide .p1{font-size:14px}
.safariDown .wxguide .p2{font-size:12px}
.safariDown .wxguide .safari-close{position:absolute;left:10px;top:50%;margin-top:-11px}
.safariDown .wxguide .red{color:#fc4242}
.safariDown .wxguide .btn{position:absolute;right:10px;top:50%;display:inline-block;background:#e53a40;color:#fff;font-size:14px;border-radius:3px;padding:7px 8px;margin-top:-17px}
.join{padding:15px 10px;background:#fff;margin-bottom:10px}
.join .join-left{display:block}
.join .join-middel{margin:0 10px}
.join .join-middel .j-head{font-size:16px}
.join .join-middel .j-desc{font-size:25px}
.join .join-middel .j-desc1{font-size:14px}
.join-right .j-link{display:block;margin-top:5px;padding:8px 20px;border:1px solid #E73C44;color:#E73C44;-webkit-border-radius:3px;border-radius:3px}
.col{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block;width:100%}
.rowc{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}
.safariDown {
    position: fixed;
    bottom: 3px;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, .7);
}
    .rowc {
    	padding: 19px 10px;      
    }
    .join-left img {
    	border-radius: 10px;
    }
  </style>

<section class="safariDown">
  <div class="rowc" style="display: block;
    height: 89px;">
    <span class="join-left" style="display:block; float: left;">
      <a href="<?php echo $hezhi[appand]; ?>">
        <img src="<?php echo $hezhi[applogo]; ?>" width="50" height="50" >
      </a>
    </span>
    <a href="<?php echo $hezhi[appand]; ?>" style="display:block; width:55%;float: left ">
    <div class="join-middel col" style="padding-left:15px; color: #fff; font-size: 16px;">
      <p class="j-desc" style="margin:0px;"><?php echo $hezhi[appname]; ?></p>
      <p class="j-desc" style="margin:0px;">实现你的游戏GM梦！</p>
    </div>
    </a>
    <div class="join-right" style="float:right; margin-right:10px; display:block; width:120px;">
      <a href="<?php echo $hezhi[appand]; ?>" data-ga="Download_App,GP_M_PageHoverBannner,GPApp" class="j-link" style="margin-right:10px;">
        立即下载
      </a>
    </div>
  </div>
  <i class="safari-close" onclick=""></i>
  </section>
  <script>
    document.onkeydown = function () {
        if (window.event && window.event.keyCode == 123) {
            event.keyCode = 0;
            event.returnValue = false;
        }
        if (window.event && window.event.keyCode == 13) {
            window.event.keyCode = 505;
        }
        if (window.event && window.event.keyCode == 8) {
            window.event.returnValue = false;
        }
    }
</script>
</body>
</html>


